import { TdBaseTableProps } from 'tdesign-vue-next';
export const tabList: Array<{ title: String; value: number }> = [
  {
    title: '展览单元',
    value: 1,
  },
  {
    title: '关联展品',
    value: 2,
  },
];
export const tabListNull: Array<{ title: string; value: number }> = [
  {
    title: '展览单元',
    value: 1,
  },
];
export const tabListModel: Array<{ title: string; value: number }> = [
  {
    title: '公有库',
    value: 1,
  },
  {
    title: '私有库',
    value: 2,
  },
  {
    title: '策展展品',
    value: 3,
  },
];
export const BUY_COLUMNS: TdBaseTableProps['columns'] = [
  {
    align: 'left',
    colKey: 'name',
    title: '文章标题',
    width: 140,
  },
  {
    align: 'left',
    ellipsis: true,
    colKey: 'typeId',
    width: 100,
    title: '类型',
  },
  {
    align: 'left',
    colKey: 'author',
    width: 120,
    title: '作者',
  },
  {
    align: 'left',
    colKey: 'publisher',
    title: '出处/出版社',
    width: 140,
  },
  {
    align: 'left',
    colKey: 'publishedOn',
    title: '发表时间',
    width: 150,
  },
  {
    align: 'left',
    colKey: 'id',
    title: '操作',
    width: 80,
  },
];
export const dataList = [
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '(加)劳拉·宝森',
    press: '北京：社会科学文献出版社',
    time: '2000-01-01',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '(加)劳拉·宝森',
    press: '北京：社会科学文献出版社',
    time: '2000-01-01',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '(加)劳拉·宝森',
    press: '北京：社会科学文献出版社',
    time: '2000-01-01',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '(加)劳拉·宝森',
    press: '北京：社会科学文献出版社',
    time: '2000-01-01',
    id: '1',
  },
];

export const BUY_COLUMNS1: TdBaseTableProps['columns'] = [
  {
    align: 'left',
    ellipsis: true,
    colKey: 'coverUrl',
    width: 80,
    title: '商品图',
  },
  {
    align: 'left',
    colKey: 'name',
    title: '商品名称',
    width: 200,
  },

  {
    align: 'left',
    colKey: 'price',
    width: 120,
    title: '参考价格',
  },
  {
    align: 'left',
    colKey: 'url',
    title: '链接',
    width: 300,
  },
  {
    align: 'center',
    colKey: 'id',
    title: '操作',
    width: 70,
  },
];
export const dataList1 = [
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '¥129.00',
    press: 'https://lrx.zjmuex.com/Other/Culture.html?shopid=58',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '¥129.00',
    press: 'https://lrx.zjmuex.com/Other/Culture.html?shopid=58',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '¥129.00',
    press: 'https://lrx.zjmuex.com/Other/Culture.html?shopid=58',
    id: '1',
  },
  {
    title: '文章标题文章标题文章标题',
    type: '论文',
    author: '¥129.00',
    press: 'https://lrx.zjmuex.com/Other/Culture.html?shopid=58',
    id: '1',
  },
];
export const columns: TdBaseTableProps['columns'] = [
  {
    align: 'left',
    colKey: 'name',
    title: '文件名',
    width: 200,
  },
  {
    align: 'left',
    ellipsis: true,
    colKey: 'size',
    width: 80,
    title: '大小',
  },
  {
    align: 'left',
    colKey: 'status',
    title: '状态',
    width: 128,
  },
  {
    align: 'left',
    colKey: 'operation',
    title: '操作',
    width: 100,
  },
];
export const column1 = [
  { colKey: 'coverUrl', title: '图片', width: 60, ellipsis: true },
  { colKey: 'name', title: '展品名称', width: 100, ellipsis: true },
  { colKey: 'typeId', title: '类型', width: 100, ellipsis: true },
  { colKey: 'ageId', title: '年代', width: 160, ellipsis: true },
  { colKey: 'SpecificAge', title: '具体年代', width: 120, ellipsis: true },
  { colKey: 'size', title: '尺寸', width: 200, ellipsis: true },
  { colKey: 'levelId', title: '级别', width: 150, ellipsis: true },
  {
    colKey: 'publishStatus',
    title: '状态',
    width: 150,
    ellipsis: true,
  },
  {
    colKey: 'operation',
    title: '操作',
    width: 200,
    fixed: 'right',
    cell: 'operation',
    ellipsis: true,
  },
];
export const uploadColumns = [
  { colKey: 'name', title: '文件名', width: 180 },
  { colKey: 'size', title: '大小', width: 120 },
  { colKey: 'status', title: '状态', width: 120 },
  {
    align: 'center',
    colKey: 'operation',
    title: '操作',
    width: 200,
    fixed: 'right',
  },
];
